package org.example.yupao.service;

import org.example.yupao.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author rainsXZ
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2024-08-18 12:40:28
*/
public interface UserService extends IService<User> {
    long userRegister(String userAccount,String userPassWord,String checkPassword,String planetCode);
    User userLogin(String userAccount, String userPassword, HttpServletRequest request);
    User getsaftyUser(User originUser);
    int userLogout(HttpServletRequest request);
    List<User> searchUserByTag (List<String> tagList);
}
